import Ws from "./index";
import Pino from "pino";

const transport = Pino.transport({
  target: "pino-smart",
});
let logger = Pino(transport);

const ws = new Ws("ws://localhost:8080", { logger: logger });

ws.on("message", (msg) => {
  logger.info(msg);
});
